PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Geometric / Triangles Solo / Zylot - new work.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.000 |
| 8 | fDecay=0.997 |
| 9 | fVideoEchoZoom=0.997 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=0.010 |
| 27 | fWaveSmoothing=0.270 |
| 28 | fWaveParam=-0.380 |
| 29 | fModWaveAlphaStart=0.710 |
| 30 | fModWaveAlphaEnd=1.300 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99951 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=1.000 |
| 45 | wave_g=1.000 |
| 46 | wave_b=1.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.000 |
| 55 | ib_r=1.000 |
| 56 | ib_g=1.000 |
| 57 | ib_b=1.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=64.000 |
| 60 | nMotionVectorsY=48.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.850 |
| 64 | mv_r=0.500 |
| 65 | mv_g=0.500 |
| 66 | mv_b=0.500 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=0.01058 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_init1=pulse = 0; |
| 89 | wave_0_per_frame1=pulse = if(above(bass*.05,pulse),pulse+.001,pulse-.001); |
| 90 | wave_0_per_frame2=pulse = pulse*above(pulse,0); |
| 91 | wave_0_per_frame3=t1 = pulse; |
| 92 | wave_0_per_point1=x = sqrt(sample*mid*.05); |
| 93 | wave_0_per_point2=y = .5 + (.1+t1)*cos(sample*20); |
| 94 | wavecode_1_enabled=0 |
| 95 | wavecode_1_samples=512 |
| 96 | wavecode_1_sep=0 |
| 97 | wavecode_1_bSpectrum=0 |
| 98 | wavecode_1_bUseDots=0 |
| 99 | wavecode_1_bDrawThick=0 |
| 100 | wavecode_1_bAdditive=0 |
| 101 | wavecode_1_scaling=1.00000 |
| 102 | wavecode_1_smoothing=0.50000 |
| 103 | wavecode_1_r=1.000 |
| 104 | wavecode_1_g=1.000 |
| 105 | wavecode_1_b=1.000 |
| 106 | wavecode_1_a=1.000 |
| 107 | wave_1_init1=pulse = 0; |
| 108 | wave_1_per_frame1=pulse = if(above(bass*.05,pulse),pulse+.001,pulse-.001); |
| 109 | wave_1_per_frame2=pulse = pulse*above(pulse,0); |
| 110 | wave_1_per_frame3=t1 = pulse; |
| 111 | wave_1_per_point1=x = sqrt(sample*mid*.05); |
| 112 | wave_1_per_point2=y = .5 + -(.1+t1)*cos(sample*20); |
| 113 | wavecode_2_enabled=0 |
| 114 | wavecode_2_samples=512 |
| 115 | wavecode_2_sep=0 |
| 116 | wavecode_2_bSpectrum=0 |
| 117 | wavecode_2_bUseDots=0 |
| 118 | wavecode_2_bDrawThick=0 |
| 119 | wavecode_2_bAdditive=0 |
| 120 | wavecode_2_scaling=1.00000 |
| 121 | wavecode_2_smoothing=0.50000 |
| 122 | wavecode_2_r=1.000 |
| 123 | wavecode_2_g=1.000 |
| 124 | wavecode_2_b=1.000 |
| 125 | wavecode_2_a=1.000 |
| 126 | wave_2_init1=pulse = 0; |
| 127 | wave_2_per_frame1=pulse = if(above(bass*.05,pulse),pulse+.001,pulse-.001); |
| 128 | wave_2_per_frame2=pulse = pulse*above(pulse,0); |
| 129 | wave_2_per_frame3=t1 = pulse; |
| 130 | wave_2_per_point1=x = 1 - sqrt(sample*mid*.05); |
| 131 | wave_2_per_point2=y = .5 + (.1+t1)*cos(sample*20); |
| 132 | wavecode_3_enabled=0 |
| 133 | wavecode_3_samples=512 |
| 134 | wavecode_3_sep=0 |
| 135 | wavecode_3_bSpectrum=0 |
| 136 | wavecode_3_bUseDots=0 |
| 137 | wavecode_3_bDrawThick=0 |
| 138 | wavecode_3_bAdditive=0 |
| 139 | wavecode_3_scaling=1.00000 |
| 140 | wavecode_3_smoothing=0.50000 |
| 141 | wavecode_3_r=1.000 |
| 142 | wavecode_3_g=1.000 |
| 143 | wavecode_3_b=1.000 |
| 144 | wavecode_3_a=1.000 |
| 145 | wave_3_init1=pulse = 0; |
| 146 | wave_3_per_frame1=pulse = if(above(bass*.05,pulse),pulse+.001,pulse-.001); |
| 147 | wave_3_per_frame2=pulse = pulse*above(pulse,0); |
| 148 | wave_3_per_frame3=t1 = pulse; |
| 149 | wave_3_per_point1=x = 1 - sqrt(sample*mid*.05); |
| 150 | wave_3_per_point2=y = .5 + -(.1+t1)*cos(sample*20); |
| 151 | shapecode_0_enabled=1 |
| 152 | shapecode_0_sides=3 |
| 153 | shapecode_0_additive=0 |
| 154 | shapecode_0_thickOutline=0 |
| 155 | shapecode_0_textured=0 |
| 156 | shapecode_0_num_inst=1 |
| 157 | shapecode_0_x=0.500 |
| 158 | shapecode_0_y=0.500 |
| 159 | shapecode_0_rad=0.34000 |
| 160 | shapecode_0_ang=0.53000 |
| 161 | shapecode_0_tex_ang=0.00000 |
| 162 | shapecode_0_tex_zoom=1.00000 |
| 163 | shapecode_0_r=0.560 |
| 164 | shapecode_0_g=0.360 |
| 165 | shapecode_0_b=0.000 |
| 166 | shapecode_0_a=1.000 |
| 167 | shapecode_0_r2=0.900 |
| 168 | shapecode_0_g2=1.000 |
| 169 | shapecode_0_b2=0.000 |
| 170 | shapecode_0_a2=0.500 |
| 171 | shapecode_0_border_r=1.000 |
| 172 | shapecode_0_border_g=1.000 |
| 173 | shapecode_0_border_b=1.000 |
| 174 | shapecode_0_border_a=0.000 |
| 175 | shape_0_init1=bassspin = 0; |
| 176 | shape_0_init2=angle = 0; |
| 177 | shape_0_per_frame1=ang = angle; |
| 178 | shape_0_per_frame2=bassspin = if(above(bass*.05,bassspin),bassspin+.001,bassspin-.001); |
| 179 | shape_0_per_frame3=bassspin = bassspin*above(bassspin,0); |
| 180 | shape_0_per_frame4=angle = angle + bassspin; |
| 181 | shape_0_per_frame5= |
| 182 | shape_0_per_frame6=r = bass*.3; |
| 183 | shape_0_per_frame7=g = treb*.3; |
| 184 | shape_0_per_frame8=b = mid*.3; |
| 185 | shape_0_per_frame9=r2 = .8+.2*sin(time*1.2); |
| 186 | shape_0_per_frame10=g2 = .8+.2*sin(time*.9777); |
| 187 | shape_0_per_frame11=b2 = .8+.2*sin(time*.7005); |
| 188 | shape_0_per_frame12= |
| 189 | shape_0_per_frame13=border_a = 1*above(bass+treb+mid,5); |
| 190 | shape_0_per_frame14= |
| 191 | shape_0_per_frame15=x = .5 + q1; |
| 192 | shape_0_per_frame16=y = .5 + q2; |
| 193 | shapecode_1_enabled=1 |
| 194 | shapecode_1_sides=100 |
| 195 | shapecode_1_additive=1 |
| 196 | shapecode_1_thickOutline=0 |
| 197 | shapecode_1_textured=1 |
| 198 | shapecode_1_num_inst=1 |
| 199 | shapecode_1_x=0.500 |
| 200 | shapecode_1_y=0.500 |
| 201 | shapecode_1_rad=0.10807 |
| 202 | shapecode_1_ang=0.00000 |
| 203 | shapecode_1_tex_ang=0.00000 |
| 204 | shapecode_1_tex_zoom=1.00000 |
| 205 | shapecode_1_r=1.000 |
| 206 | shapecode_1_g=1.000 |
| 207 | shapecode_1_b=1.000 |
| 208 | shapecode_1_a=1.000 |
| 209 | shapecode_1_r2=1.000 |
| 210 | shapecode_1_g2=1.000 |
| 211 | shapecode_1_b2=1.000 |
| 212 | shapecode_1_a2=1.000 |
| 213 | shapecode_1_border_r=1.000 |
| 214 | shapecode_1_border_g=1.000 |
| 215 | shapecode_1_border_b=1.000 |
| 216 | shapecode_1_border_a=0.000 |
| 217 | shape_1_init1=bassspin = 0; |
| 218 | shape_1_init2=xpos = .25; |
| 219 | shape_1_init3=ypos = .25; |
| 220 | shape_1_per_frame1=bassspin = if(above(bass*.05,bassspin),bassspin+.001,bassspin-.001); |
| 221 | shape_1_per_frame2=bassspin = bassspin*above(bassspin,0); |
| 222 | shape_1_per_frame3=xpos = xpos + bassspin; |
| 223 | shape_1_per_frame4=ypos = ypos + bassspin; |
| 224 | shape_1_per_frame5=x = .5 + q1 + .13*sin(xpos); |
| 225 | shape_1_per_frame6=y = .5 + q2 + .18*cos(ypos); |
| 226 | shapecode_2_enabled=1 |
| 227 | shapecode_2_sides=29 |
| 228 | shapecode_2_additive=1 |
| 229 | shapecode_2_thickOutline=0 |
| 230 | shapecode_2_textured=1 |
| 231 | shapecode_2_num_inst=1 |
| 232 | shapecode_2_x=0.500 |
| 233 | shapecode_2_y=0.500 |
| 234 | shapecode_2_rad=0.10569 |
| 235 | shapecode_2_ang=0.00000 |
| 236 | shapecode_2_tex_ang=0.00000 |
| 237 | shapecode_2_tex_zoom=1.00000 |
| 238 | shapecode_2_r=1.000 |
| 239 | shapecode_2_g=1.000 |
| 240 | shapecode_2_b=1.000 |
| 241 | shapecode_2_a=1.000 |
| 242 | shapecode_2_r2=1.000 |
| 243 | shapecode_2_g2=1.000 |
| 244 | shapecode_2_b2=1.000 |
| 245 | shapecode_2_a2=1.000 |
| 246 | shapecode_2_border_r=1.000 |
| 247 | shapecode_2_border_g=1.000 |
| 248 | shapecode_2_border_b=1.000 |
| 249 | shapecode_2_border_a=0.000 |
| 250 | shape_2_init1=bassspin = 0; |
| 251 | shape_2_init2=xpos = 2.3; |
| 252 | shape_2_init3=ypos = 2.3; |
| 253 | shape_2_per_frame1=bassspin = if(above(bass*.05,bassspin),bassspin+.001,bassspin-.001); |
| 254 | shape_2_per_frame2=bassspin = bassspin*above(bassspin,0); |
| 255 | shape_2_per_frame3=xpos = xpos + bassspin; |
| 256 | shape_2_per_frame4=ypos = ypos + bassspin; |
| 257 | shape_2_per_frame5=x = .5 + q1 +.13*sin(xpos); |
| 258 | shape_2_per_frame6=y = .5 + q2 + .18*cos(ypos); |
| 259 | shapecode_3_enabled=1 |
| 260 | shapecode_3_sides=100 |
| 261 | shapecode_3_additive=1 |
| 262 | shapecode_3_thickOutline=0 |
| 263 | shapecode_3_textured=1 |
| 264 | shapecode_3_num_inst=1 |
| 265 | shapecode_3_x=0.500 |
| 266 | shapecode_3_y=0.500 |
| 267 | shapecode_3_rad=0.09143 |
| 268 | shapecode_3_ang=0.00000 |
| 269 | shapecode_3_tex_ang=0.00000 |
| 270 | shapecode_3_tex_zoom=1.00000 |
| 271 | shapecode_3_r=1.000 |
| 272 | shapecode_3_g=1.000 |
| 273 | shapecode_3_b=1.000 |
| 274 | shapecode_3_a=1.000 |
| 275 | shapecode_3_r2=1.000 |
| 276 | shapecode_3_g2=1.000 |
| 277 | shapecode_3_b2=1.000 |
| 278 | shapecode_3_a2=1.000 |
| 279 | shapecode_3_border_r=1.000 |
| 280 | shapecode_3_border_g=1.000 |
| 281 | shapecode_3_border_b=1.000 |
| 282 | shapecode_3_border_a=0.000 |
| 283 | shape_3_init1=bassspin = 0; |
| 284 | shape_3_init2=xpos = 4.5; |
| 285 | shape_3_init3=ypos = 4.5; |
| 286 | shape_3_per_frame1=bassspin = if(above(bass*.05,bassspin),bassspin+.001,bassspin-.001); |
| 287 | shape_3_per_frame2=bassspin = bassspin*above(bassspin,0); |
| 288 | shape_3_per_frame3=xpos = xpos + bassspin; |
| 289 | shape_3_per_frame4=ypos = ypos + bassspin; |
| 290 | shape_3_per_frame5=x = .5 + q1 + .13*sin(xpos); |
| 291 | shape_3_per_frame6=y = .5 + q2 + .18*cos(ypos); |
| 292 | per_frame_1=vol = (bass+mid+att)/6; |
| 293 | per_frame_2=xamptarg = if(equal(frame%15,0),min(0.5*vol*bass_att,0.5),xamptarg); |
| 294 | per_frame_3=xamp = xamp + 0.5*(xamptarg-xamp); |
| 295 | per_frame_4=xdir = if(above(abs(xpos),xamp),-sign(xpos),if(below(abs(xspeed),0.1),2*above(xpos,0)-1,xdir)); |
| 296 | per_frame_5=xaccel = xdir*xamp - xpos - xspeed*0.055*below(abs(xpos),xamp); |
| 297 | per_frame_6=xspeed = xspeed + xdir*xamp - xpos - xspeed*0.055*below(abs(xpos),xamp); |
| 298 | per_frame_7=xpos = xpos + 0.001*xspeed; |
| 299 | per_frame_8=yamptarg = if(equal(frame%15,0),min(0.3*vol*treb_att,0.5),yamptarg); |
| 300 | per_frame_9=yamp = yamp + 0.5*(yamptarg-yamp); |
| 301 | per_frame_10=ydir = if(above(abs(ypos),yamp),-sign(ypos),if(below(abs(yspeed),0.1),2*above(ypos,0)-1,ydir)); |
| 302 | per_frame_11=yaccel = ydir*yamp - ypos - yspeed*0.055*below(abs(ypos),yamp); |
| 303 | per_frame_12=yspeed = yspeed + ydir*yamp - ypos - yspeed*0.055*below(abs(ypos),yamp); |
| 304 | per_frame_13=ypos = ypos + 0.001*yspeed; |
| 305 | per_frame_14= |
| 306 | per_frame_15=q1 = ypos; |
| 307 | per_frame_16=q2 = xpos; |
| 308 | per_pixel_1=zoom = 1+rad*.1; |
| 309 | warp_1=`shader_body |
| 310 | warp_2=`{ |
| 311 | warp_3=` // sample previous frame |
| 312 | warp_4=` ret = tex2D( sampler_main, uv ).xyz; |
| 313 | warp_5=` |
| 314 | warp_6=` float3 blurry = GetBlur2(uv); |
| 315 | warp_7=` ret = pow(ret,1+treb_att*.01); |
| 316 | warp_8=` ret = lerp(blurry,ret,blurry*ret); |
| 317 | warp_9=` |
| 318 | warp_10=` // darken (decay) over time |
| 319 | warp_11=` ret -= ret*.01; |
| 320 | warp_12=`} |
| 321 | comp_1=`shader_body |
| 322 | comp_2=`{ |
| 323 | comp_3=` ret = tex2D(sampler_main, uv).xyz; |
| 324 | comp_4=` ret *= 1.00; //gamma |
| 325 | comp_5=` float2 noise_uv = uv_orig*texsize.xy*texsize_noise_lq.zw + rand_frame.xy; |
| 326 | comp_6=` float4 noiseVal = tex2D(sampler_noise_lq, noise_uv); |
| 327 | comp_7=` ret = ret+((pow(ret,6))*((((abs(q1-.5)+abs(q2-.5))*bass_att)*noiseVal))); |
| 328 | comp_8=` ret *= ret; //darken |
| 329 | comp_9=`} |